#ifndef BANKACCOUNT_H_
#define BANKACCOUNT_H_
#include <iostream>

class BankAccount
{


public:
	int *_id;
	double *_yitra;
	double *_yesterday;

	BankAccount();
	BankAccount(int newId, double firstYitra);
	//BankAccount(BankAccount *account);

	virtual ~BankAccount();

	void changeYitra(double change);
	double calcProfit();
	void endOfDay();

	double& getYitra();

};

#endif /*BANKACCOUNT_H_*/
